
const NobleClient = require('./nobleClient');
let  rpc = 'https://rpc.mainnet.noble.strange.love:443';

rpc = 'https://noble-testnet-rpc.polkachu.com';

const run = async () => {

    let client = new NobleClient();
    await client.init(rpc);

    let data = {
        sourceDomain:1,
        nonce:303813
    }
    let ret = await client.UsedNonce(1,303812 )
    console.log('ret: ', ret);
}

run();


